package conf2.net;

import conf2.iface.IConnectionListener;


public interface IConnection {

    boolean isServer();

    void sendMessage(Message m);

    Message waitForNextMessage();

    void close();

    public void setConnectionListener(IConnectionListener l);
}
